package com.jiaomatech.tencent.cos.config;

import com.jiaomatech.tencent.cos.resource.CosStorageProtocolResolver;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Description: $VAL$ .<br>
 *
 * @author m-xy
 *     Created By 2019/4/10 下午3:54
 */
@Configuration
@AutoConfigureAfter(CosAutoConfiguration.class)
public class CosProtocolResolverConfiguration {
    @ConditionalOnMissingBean
    @Bean
    public static CosStorageProtocolResolver cosStorageProtocolResolver() {
        return new CosStorageProtocolResolver();
    }
}
